import React from 'react';

export interface FooterProps {
  content: string;
}

interface State {
  content: string;
}

class Footer extends React.PureComponent<FooterProps, State> {
  public static defaultProps = {
    content: '默认内容',
  };

  public state = {
    content: this.props.content,
  };

  public render() {
    return <div>{this.state.content}</div>;
  }
}

export default Footer;
